package com.atguigu.gulimall.member.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author 满超
 * @date 2020/06/16
 **/
@ConfigurationProperties(prefix = "gulimall.thread")//前缀
@Component
@Data
public class ThreadProperties {
    private Integer size;
    private Integer maxSize;
    private Integer sleepTime;
}
